module.exports = {
  publicPath: '/',
  outputDir: 'dist',
  assetsDir: 'static',
  lintOnSave: process.env.NODE_ENV === 'development',
  productionSourceMap: false,
  devServer: {
    port: 8080,
    open: true,
    overlay: {
      warnings: false,
      errors: true
    },
    proxy: {
      '/car-vehicle': {
        target: 'http://localhost:9000',
        changeOrigin: true,
        pathRewrite: {
          '^/car-vehicle': '/car-vehicle'
        }
      },
      '/car-crm': {
        target: 'http://localhost:9000',
        changeOrigin: true,
        pathRewrite: {
          '^/car-crm': '/car-crm'
        }
      }
    }
  }
} 